# add the path to my library code; -L tells the linker where to find it
LFLAGS +=  -L`fltk-config --libs` 

# list of libraries to link into executable; -l tells the linker which 
# library to link into the executable 
LIBS = `fltk-config --use-gl --ldflags` -lasound -lrt -ljack
OBJS = main.cc AudioPlayer.cc
TARGET = main
CC   = g++

# path to any header files not in /usr/include or the current directory 
INCLUDES += `fltk-config --cxxflags`

default: $(TARGET)

main: 
	$(CC) $(CFLAGS) $(LFLAGS) -o $(TARGET) $(OBJS) $(LIBS) libportaudio.a

clean:
	rm main
#${OBJS}: %.o :  %.c
#	${CC} -c ${CFLAGS} ${LFLAGS} ${INCLUDES} ${@:.o=.c}
